-- ----------------------------------------------------------------------------
-- File Main Owner:   Cynthia Gabriel (cgabri1)
-- File Peer Owner:   
-- File Description:  Alteon OS TEAMING_CTL config MIB interface.
--
-- Nomenclature:      To support multiplatform naming conventions:
--                    General:  <teaming>...<Fop><Lta>...
--                    Zoe:      <failover>...<Trigger><Amon>...
--
-- { COPYRIGHT / HISTORY
--
-- COPYRIGHT NOTICE
-- Copyright (c) Nortel Networks, Inc.  2005 -
-- All rights reserved
--
-- HISTORY
-- $Log: aosFailoverCfg.mib_raw $
-- Revision submit_cheetah_22780/1 2006/08/28 14:50:04 virgiliu
-- Change TriggerLimit range to 0..5
-- 
-- Revision submit_cheetah_22593/1 2006/08/22 10:29:10 virgiliu
-- NewCfgFopLtaKey does the same thins as NewCfgFopLtaKeyAdd.
-- 
-- Revision submit_cheetah_22573/1 2006/08/21 11:56:45 virgiliu
-- Change TriggerLimit range to 0..6.
-- 
-- Revision submit_cheetah_12396/1 2005/05/27 07:15:09 cgabri1
-- TEAMING:  Stage 13, CR-Q01131725:  Enable TEAMING_FOP_LIMIT.
-- - In failoverCurCfgTriggerLimit and failoverNewCfgTriggerLimit,
--   change INTEGER (1..100) to INTEGER (1..6).  Modify description
--   from "Limit percentage of ..." to "Limit # of ...".
-- 
-- Revision submit_cheetah_12214/1 2005/05/19 06:43:05 cgabri1
-- TEAMING:  Stage 10, CR-Q01131752:  Add % limit enhancement.
-- - Add failoverCurCfgTriggerLimit and failoverNewCfgTriggerLimit.
-- 
-- Revision submit_cheetah_12178/1 2005/05/17 23:26:28 cgabri1
-- TEAMING:  Stage 9, CR-Q01117050:  Add teaming SNMP support.
-- - Add Alteon OS TEAMING_CTL config MIB interface.
-- 
-- $EndLog$
--
-- PORTING HISTORY
--
-- } COPYRIGHT / HISTORY (end)

AOS-FAILOVER-CFG-MIB DEFINITIONS ::= BEGIN

-- ----------------------------------------------------------------------------

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, Integer32
        FROM SNMPv2-SMI
    layer2Configs
        FROM ALTEON-CS-PHYSICAL-MIB;

failoverCfg       MODULE-IDENTITY
    LAST-UPDATED "200505170000Z" --  17 May, 2005
    ORGANIZATION "Nortel Networks"
    CONTACT-INFO "Cynthia Gabriel

                  Nortel Networks
                  4655 Great America Parkway
                  Santa Clara CA 95054

                  +1 408 495 8661
                  cgabri1@nortel.com"
    DESCRIPTION
        "The MIB module for the BSS Failover configuration."
    ::= { layer2Configs 10 }

-- ----------------------------------------------------------------------------
-- { GLOBAL TEAMING CONFIG
-- ----------------------------------------------------------------------------

failoverCurCfgOnState                 OBJECT-TYPE
    SYNTAX      INTEGER  {
                    on(1),
                    off(2)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Failover ON/OFF setting."
    ::= { failoverCfg 1 }

failoverNewCfgOnState                 OBJECT-TYPE
    SYNTAX      INTEGER  {
                    on(1),
                    off(2)
                }
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "Failover ON/OFF settings."
    ::= { failoverCfg 2 }

failoverCurCfgVlanState               OBJECT-TYPE
    SYNTAX      INTEGER  {
                    on(1),
                    off(2)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Failover VLAN setting."
    ::= { failoverCfg 3 }

failoverNewCfgVlanState               OBJECT-TYPE
    SYNTAX      INTEGER  {
                    on(1),
                    off(2)
                }
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "Failover VLAN settings."
    ::= { failoverCfg 4 }

failoverMaxTriggerEntries             OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The maximum number of entries in the Failover Trigger Table."
    ::= { failoverCfg 5 }

-- } GLOBAL TEAMING CONFIG

-- ----------------------------------------------------------------------------
-- { CUR TEAMING FOP CONFIG
-- ----------------------------------------------------------------------------

failoverCurCfgTriggerTable             OBJECT-TYPE
    SYNTAX      SEQUENCE OF FailoverCurCfgTriggerTableEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The Failover Trigger Table."
    ::= { failoverCfg 6 }

failoverCurCfgTriggerTableEntry        OBJECT-TYPE
    SYNTAX      FailoverCurCfgTriggerTableEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A row in the Failover Trigger Table."
    INDEX  { failoverCurCfgTriggerId }
    ::= { failoverCurCfgTriggerTable 1 }

FailoverCurCfgTriggerTableEntry ::= SEQUENCE {
    failoverCurCfgTriggerId            Integer32,
    failoverCurCfgTriggerLimit         INTEGER, 
    failoverCurCfgTriggerAmonTrunk     OCTET STRING,
    failoverCurCfgTriggerAmonKey       INTEGER, 
    failoverCurCfgTriggerState         INTEGER
    }

failoverCurCfgTriggerId                OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The Trigger identifier."
    ::= { failoverCurCfgTriggerTableEntry 1 }

failoverCurCfgTriggerState             OBJECT-TYPE
    SYNTAX      INTEGER  {
                    enabled(1),
                    disabled(2)
                }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Enable or disable Trigger state"
    ::= { failoverCurCfgTriggerTableEntry 2 }

failoverCurCfgTriggerLimit             OBJECT-TYPE
    SYNTAX      INTEGER (0..5)
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Limit # of operational links"
    ::= { failoverCurCfgTriggerTableEntry 3 }


failoverCurCfgTriggerAmonTrunk         OBJECT-TYPE
    SYNTAX      OCTET STRING
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The Auto Monitor trunk list. The trunks are presented in bitmap format:

             OCTET 1  OCTET 2  .....
             xxxxxxxx xxxxxxxx .....
             ||    || |_ trunk 8
             ||    ||
             ||    ||___ trunk 7
             ||    |____ trunk 6
             ||      .    .   .
             ||_________ trunk 1
             |__________ reserved

         where x : 1 - The represented trunk belongs to the Auto Monitor
                   0 - The represented trunk does not belong to the Auto Monitor" 
    ::= { failoverCurCfgTriggerTableEntry 4 }

failoverCurCfgTriggerAmonKey           OBJECT-TYPE
    SYNTAX      INTEGER (1..65535)
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The LACP admin key. This is a 16-bit read-only value."
    ::= { failoverCurCfgTriggerTableEntry 5 }


-- } CUR TEAMING FOP CONFIG

-- ----------------------------------------------------------------------------
-- { NEW TEAMING FOP CONFIG
-- ----------------------------------------------------------------------------

failoverNewCfgTriggerTable             OBJECT-TYPE
    SYNTAX      SEQUENCE OF FailoverNewCfgTriggerTableEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The Failover Trigger Table."
    ::= { failoverCfg 7 }

failoverNewCfgTriggerTableEntry        OBJECT-TYPE
    SYNTAX      FailoverNewCfgTriggerTableEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A row in the Failover Trigger Table."
    INDEX  { failoverNewCfgTriggerId }
    ::= { failoverNewCfgTriggerTable 1 }

FailoverNewCfgTriggerTableEntry ::= SEQUENCE {
    failoverNewCfgTriggerId            Integer32,
    failoverNewCfgTriggerLimit         INTEGER,
    failoverNewCfgTriggerAmonTrunk     OCTET STRING,
    failoverNewCfgTriggerAmonTrunkAdd  INTEGER,
    failoverNewCfgTriggerAmonTrunkRem  INTEGER,
    failoverNewCfgTriggerAmonKey       INTEGER,
    failoverNewCfgTriggerAmonKeyAdd    INTEGER,
    failoverNewCfgTriggerAmonKeyRem    INTEGER,  
    failoverNewCfgTriggerState         INTEGER
    }
 
failoverNewCfgTriggerId                OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The Trigger identifier."
    ::= { failoverNewCfgTriggerTableEntry 1 }

failoverNewCfgTriggerState             OBJECT-TYPE
    SYNTAX      INTEGER  {
                    enabled(1),
                    disabled(2)
                }
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "Enable or disable Trigger state"
    ::= { failoverNewCfgTriggerTableEntry 2 }

failoverNewCfgTriggerLimit             OBJECT-TYPE
    SYNTAX      INTEGER (0..5)
    MAX-ACCESS  read-write
    STATUS      current
    DESCRIPTION
        "Limit # of operational links"
    ::= { failoverNewCfgTriggerTableEntry 3 }


failoverNewCfgTriggerAmonTrunk         OBJECT-TYPE
    SYNTAX      OCTET STRING
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "The Auto Monitor trunk list. The trunks are presented in bitmap format:

             OCTET 1  OCTET 2  .....
             xxxxxxxx xxxxxxxx .....
             ||    || |_ trunk 8
             ||    ||
             ||    ||___ trunk 7
             ||    |____ trunk 6
             ||      .    .   .
             ||_________ trunk 1
             |__________ reserved

         where x : 1 - The represented trunk belongs to the Auto Monitor
                   0 - The represented trunk does not belong to the Auto Monitor"
    ::= { failoverNewCfgTriggerTableEntry 4 }

failoverNewCfgTriggerAmonTrunkAdd      OBJECT-TYPE
    SYNTAX      INTEGER
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Add trunk to Auto Monitor.  When read, 0 is returned."
    ::= { failoverNewCfgTriggerTableEntry 5 }

failoverNewCfgTriggerAmonTrunkRem      OBJECT-TYPE
    SYNTAX      INTEGER
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Remove trunk from Auto Monitor.  When read, 0 is returned."
    ::= { failoverNewCfgTriggerTableEntry 6 }
 
failoverNewCfgTriggerAmonKey           OBJECT-TYPE
    SYNTAX      INTEGER (1..65535)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The LACP admin key. This is a 16-bit read-only value."
    ::= { failoverNewCfgTriggerTableEntry 7 }

failoverNewCfgTriggerAmonKeyAdd        OBJECT-TYPE
    SYNTAX      INTEGER (1..65535)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Add LACP admin key to Auto Monitor.  When read, 0 is returned."
    ::= { failoverNewCfgTriggerTableEntry 8 }

failoverNewCfgTriggerAmonKeyRem        OBJECT-TYPE
    SYNTAX      INTEGER (1..65535) 
    MAX-ACCESS  read-create
    STATUS      current  
    DESCRIPTION 
        "Remove LACP admin key from Auto Monitor.  When read, 0 is returned."
    ::= { failoverNewCfgTriggerTableEntry 9 } 


-- } NEW TEAMING FOP CONFIG

-- ----------------------------------------------------------------------------

END
